package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("ums_admin_roles")
public class UmsAdminRoles implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 管理员id
     */
      private Integer adminId;

      /**
     * 后台用户角色id
     */
      private Integer roleId;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getAdminId() {
        return adminId;
    }

      public void setAdminId(Integer adminId) {
          this.adminId = adminId;
      }
    
    public Integer getRoleId() {
        return roleId;
    }

      public void setRoleId(Integer roleId) {
          this.roleId = roleId;
      }

    @Override
    public String toString() {
        return "UmsAdminRoles{" +
              "id=" + id +
                  ", adminId=" + adminId +
                  ", roleId=" + roleId +
              "}";
    }
}
